home *** CD-ROM | disk | FTP | other *** search
/ AGA Toolkit '97 / The AGA Toolkit '97.iso / programming / c / make-3.75 / readme.amiga < prev    next >
Encoding:
Text File  |  1996-09-07  |  1.8 KB  |  63 lines

  1. Short: Port of GNU make with SAS/C (no ixemul.library required)
  2. Author: GNU, Amiga port by Aaron "Optimizer" Digulla
  3. Uploader: Aaron "Optimizer" Digulla (digulla@fh-konstanz.de)
  4. Type: dev/c
  5.  
  6. This is a pure Amiga port of GNU make 3.74. It needs no extra libraries or
  7. anything. It has the following features (in addition to any features of
  8. GNU make):
  9.  
  10. - Runs Amiga-Commands with SystemTags() (Execute)
  11. - Can run multi-line statements
  12. - Allows to use Device-Names in targets:
  13.  
  14.     c:make : make.o
  15.  
  16.     is ok. To distinguish between device-names and target : or ::, MAKE
  17.     looks for spaces. If there are any around :, it's taken as a target
  18.     delimiter, if there are none, it's taken as the name of a device. Note
  19.     that "make:make.o" tries to create "make.o" on the device "make:".
  20. - Replaces @@ by a newline in any command line:
  21.  
  22.     if exists make @@\
  23.         delete make.bak quiet @@\
  24.         rename make make.bak @@\
  25.     endif @@\
  26.     $(CC) Link Make.o To make
  27.  
  28.     works. Note that the @@ must stand alone (ie. "make@@\" is illegal).
  29.     Also be carefull that there is a space after the "\" (ie, at the
  30.     beginning of the next line).
  31. - Can be made resident to save space and time
  32. - To use "#?" as a wildcard, you must enclose it in "":
  33.  
  34.     delete "#?.o"
  35.  
  36. BUGS:
  37. - The line
  38.  
  39.     dummy.h : src/*.c
  40.  
  41. tries to make dummy.h from "src/*.c" (ie. no wildcard-expansion takes
  42. place). You have to use "$(wildcard src/*.c)" instead.
  43.  
  44. COMPILING FROM SCRATCH
  45.  
  46. To recompile, you need SAS/C 6.51. make itself is not neccessary, there
  47. is an smakefile.
  48.  
  49. 1. Copy config.ami to config.h
  50. 2. If you use make to compie, copy Makefile.ami to Makefile and
  51.     glob/Makefile.ami to glob/Makefile. Copy make into the current
  52.     directory.
  53.  
  54. 3. Run smake/make
  55.  
  56. INSTALLATION
  57.  
  58. Copy make somewhere in your search path (eg. sc:c or sc:bin).
  59. If you plan to use recursive makes, install make resident:
  60.  
  61.     Resident make Add
  62.  
  63.